using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace kongjian12
{
    [Designer(typeof(TongJi_EMS._TJ_Basic.TJ_BasicControlDesigner))]
    public partial class xianshiqi : TongJi_EMS._TJ_Basic.TJ_BasicControl
    {
        public xianshiqi()
        {
            InitializeComponent();
        }

        private void xianshiqi_Load(object sender, EventArgs e)
        {
            this.xianshiqi_Resize(sender, e);
        }

        private void xianshiqi_Resize(object sender, EventArgs e)
        {
            this.x = base.Width / 2;
            this.y = base.Height / 2;
            this.Refresh();
        }

        private void xianshiqiPaint(object sender, PaintEventArgs e)
        {
            //Pen pen = new Pen(Color.Yellow, 1);
            //Pen pen2 = new Pen(Color.White, 1);
            //e.Graphics.DrawLine(pen, (float)(this.x * 0.6f), (float)(this.y * 0.4f), (float)(this.x * 1.4f), (float)(this.y * 0.4f));
            //e.Graphics.DrawLine(pen, (float)(this.x * 0.6f), (float)(this.y * 0.5f), (float)(this.x * 1.4f), (float)(this.y * 0.5f));
            //e.Graphics.DrawEllipse(pen2, (float)(this.x * 0.6f), (float)(this.y * 0.75f), (float)(this.x * 0.8f), (float)(this.y * 0.4f));
            //e.Graphics.DrawLine(pen2, (float)(this.x * 0.72f), (float)(this.y * 0.79f), (float)(this.x * 1.28f), (float)(this.y * 1.05f));
            //e.Graphics.DrawLine(pen2, (float)(this.x * 0.72f), (float)(this.y * 1.05f), (float)(this.x * 1.28f), (float)(this.y * 0.79f));
            //e.Graphics.DrawLine(pen, (float)(this.x * 0.6f), (float)(this.y * 1.7f), (float)(this.x * 1.4f), (float)(this.y * 1.7f));
            //e.Graphics.DrawLine(pen, (float)(this.x * 0.7f), (float)(this.y * 1.8f), (float)(this.x * 1.3f), (float)(this.y * 1.8f));
            //e.Graphics.DrawLine(pen, (float)(this.x * 0.8f), (float)(this.y * 1.9f), (float)(this.x * 1.2f), (float)(this.y * 1.9f));
            //e.Graphics.DrawLine(pen, this.x, 0f, this.x, this.y * 0.4f);
            //e.Graphics.DrawLine(pen, this.x, this.y * 0.5f, this.x, this.y * 0.75f);
            //e.Graphics.DrawLine(pen, this.x, (this.y * 0.75f) + (this.x * 0.8f), this.x, this.y * 1.7f);
        }
    }
}